Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'BXT_DISABLE_VSYNC' environment variable #424

Merged
merged 3 commits into from
Feb 18, 2023

Conversation

SmileyAG
Copy link
Collaborator

No description provided.

Copy link
Owner

@YaLTeR YaLTeR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this also work on Steam builds?

BunnymodXT/modules/HwDLL.cpp Outdated Show resolved Hide resolved
@SmileyAG
Copy link
Collaborator Author

Does this also work on Steam builds?

It does, but it would overriden after changing value in gl_vsync cvar anyway, so I don't think it there any sense to use it in Steam.

@SmileyAG SmileyAG changed the title Added 'bxt_disable_v_sync' to disable V-Sync in pre-Steampipe builds Add 'BXT_DISABLE_VSYNC' environment variable Feb 18, 2023
README.md Outdated
@@ -35,6 +35,7 @@ Use the [Bunnymod XT Launcher](https://github.com/YaLTeR/bxt-launcher).
- **SPTLIB_DEBUG** - if set to 1, logs all dlopen, dlclose and dlsym calls.
- **BXT_DISABLE_DEBUG_CONSOLE** - if set, disables the Bunnymod XT debug console.
- **BXT_DISABLE_DISCORD_RPC** - if set, disables the Discord RPC module.
- **BXT_DISABLE_VSYNC** - if set, disables the V-Sync on initialization.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **BXT_DISABLE_VSYNC** - if set, disables the V-Sync on initialization.
- **BXT_DISABLE_VSYNC** - if set, disables the V-Sync on initialization (Windows-only).

@YaLTeR YaLTeR merged commit 5ea4655 into YaLTeR:master Feb 18, 2023
@YaLTeR
Copy link
Owner

YaLTeR commented Feb 18, 2023

Thanks

@SmileyAG SmileyAG deleted the disable-vsync-older-builds branch February 19, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants